package com.bubbo.rpc.client.service;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 注解化rpc
 * Created by waasdasd on 2017/3/29.
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface BubboService {

    /**
     * 接口
     */
    Class<?> value();

    /**
     * 版本
     */
    String version() default "";


}
